/**
 * Copyright (C), 2001-2023, www.bosssof.com.cn
 * FileName: ResourceDTO
 * Author: Administrator
 * Date: 2024-05-29 10:41:54
 * Description:
 * <p> 资源对象
 * History:
 * <author> Administrator
 * <time> 2024-05-29 10:41:54
 * <version> 1.0.0
 * <desc> 版本描述
 */
package com.bosssoft.common.data.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @ClassName: ResourceDTO
 * @Description: 资源DTO
 * @Author: Administrator
 * @Date: 2024-05-29 10:41:54
 **/
@ApiModel("增加和修改使用的资源对象")
@Slf4j
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class ResourceDTO extends BaseDTO {
    /**
     *  id 雪花算法生成对应行的记录id
     */
    @ApiModelProperty("记录id")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

}
